package com.appbee.core.client.data;

public class SimpleSortInfo implements ISortInfo
{
	private String fieldName;
	private boolean ascending;

	public SimpleSortInfo(String fieldName, boolean ascending)
	{
		super();
		this.ascending = ascending;
		this.fieldName = fieldName;
	}

	public boolean isAscending()
	{
		return ascending;
	}

	public void setAscending(boolean ascending)
	{
		this.ascending = ascending;
	}

	public String getFieldName()
	{
		return fieldName;
	}

	public void setFieldName(String fieldName)
	{
		this.fieldName = fieldName;
	}
}
